package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 联系人表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "contacts_erp")
public class ContactsErp implements Serializable {
    /**
     * 联系人id
     */
    @TableId(value = "contacts_no", type = IdType.INPUT)
    private Integer contactsNo;

    /**
     * 联系人名称
     */
    @TableField(value = "contacts_name")
    private String contactsName;

    /**
     * 手机
     */
    @TableField(value = "contacts_phone")
    private String contactsPhone;

    /**
     * 座机
     */
    @TableField(value = "contacts_landline")
    private String contactsLandline;

    /**
     * 性别（0男，1女）
     */
    @TableField(value = "contacts_sex")
    private Integer contactsSex;

    /**
     * 生日
     */
    @TableField(value = "contacts_birthday")
    private Date contactsBirthday;

    /**
     * qq
     */
    @TableField(value = "contacts_qq")
    private String contactsQq;

    /**
     * 微信
     */
    @TableField(value = "contacts_wx")
    private String contactsWx;

    /**
     * 邮箱
     */
    @TableField(value = "contacts_email")
    private String contactsEmail;

    /**
     * 地址
     */
    @TableField(value = "contacts_address")
    private String contactsAddress;

    /**
     * 供应商id
     */
    @TableField(value = "supplier_id")
    private Integer supplierId;

    private static final long serialVersionUID = 1L;
}